using System.Diagnostics;
using Microsoft.AspNetCore.Mvc;
using TaskProjectMVC.Models;

namespace TaskProjectMVC.Controllers
{
    public class HomeController : Controller
    {
        private readonly ILogger<HomeController> _logger;

        public HomeController(ILogger<HomeController> logger)
        {
            _logger = logger;
        }
        public IActionResult GetWorkOrder()
        {
            return View();
        }
        
        public IActionResult AddWorkOrder()
        {
            return View();
        }
        
        public IActionResult AddProductItem()
        {
            return View();
        }
        
                public IActionResult GetProductItem()
        {
            return View();
        }
        
        public IActionResult GetWorkOrderDetail()
        {
            return View();
        }
        
        public IActionResult AddProductProcess()
        {
            return View();
        }
        public IActionResult Index()
        {
            return View();
        }

        public IActionResult Privacy()
        {                      
            return View();
        }
        public IActionResult AddBOM()
        {
            return View();
        }
        public IActionResult GetBOM()
        {
            return View();
        }
        
        public IActionResult UpdateBOM()
        {
            return View();
        }
        
        public IActionResult DetailBOM()
        {
            return View();
        }
        
        public IActionResult GetProductionPlan()
        {
            return View();
        }
        
        public IActionResult AddProductionPlan()
        {
            return View();
        }
        
        public IActionResult UpdateProductionPlan()
        {
            return View();
        }
        

        [ResponseCache(Duration = 0, Location = ResponseCacheLocation.None, NoStore = true)]
        public IActionResult Error()
        {
            return View(new ErrorViewModel { RequestId = Activity.Current?.Id ?? HttpContext.TraceIdentifier });
        }
    }
}
